package com.reading.mapper;

import com.reading.pojo.Shell;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ShellMapper {
    @Select("select * from shell")
    List<Shell> findAll();

    @Select("select * from shell where days = #{id}")
    Shell findById(Integer id);
}
